package com.andy.util;

import org.apache.dubbo.common.URL;

public class ThreadLocalUrlUtil {

    private static ThreadLocal<URL> url = new ThreadLocal <URL>();


    public static URL getUrl() {
        return url.get();
    }

    public static void setUrl(URL url) {
        ThreadLocalUrlUtil.url.set(url);
    }
}
